package com.helmlabs.grouper.cms.dao;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.helmlabs.grouper.cms.model.AbstractLayout;

public class LayoutDaoHibernate extends HibernateDaoSupport implements LayoutDao {

	public AbstractLayout get(Long id) {
		return (AbstractLayout)getHibernateTemplate().get(AbstractLayout.class, id);
	}

	public AbstractLayout save(AbstractLayout layout) {
		return (AbstractLayout)getHibernateTemplate().merge(layout);
	}
	
	

}
